<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta property="qc:admins" content="164336131761562117756375" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{wc:if isset($title)}{wc:$title}{wc:else}{wc:fun:_cfg("web_name")}{wc:if:end}</title>
<meta name="keywords" content="{wc:if isset($keywords)}{wc:$keywords}{wc:else}{wc:fun:_cfg("web_key")}{wc:if:end}" />
<meta name="description" content="{wc:if isset($description)}{wc:$description}{wc:else}{wc:fun:_cfg("web_des")}{wc:if:end}" />
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/index.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/comm.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/register.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/color.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/css.css"/>
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/mycart.css"/>
<script type="text/javascript" src="{G_GLOBAL_STYLE}/global/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.cookie.js"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/cloud-zoom.min.js"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.webox.js"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.cartlist.js"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/koala.min.1.5.js"></script>
</head>
<body>
<!--演示条开始
<div id="pp_sc" style="position:absolute;z-index:9999;">  
<a href="http://www.teyunbao.cn" target="_blank"><img src="https://img.alicdn.com/imgextra/i1/2568715561/TB2nn40dR9J.eBjy0FoXXXyvpXa_!!2568715561.gif"></a>
</div> 
<script >  
    $(document).ready(function(){  
    var temp=$(document).scrollTop();  
    $(window).scroll(function (){  
        var st=$(document).scrollTop();  
        if($(document).scrollTop()>temp){  
            offsetTop=300+ $(document).scrollTop();  
            temp=$(document).scrollTop();  
        }else{  
            offsetTop=34- $(document).scrollTop();  
            temp=$(document).scrollTop();  
        }  
        offsetTopStr=offsetTop+"px";  
        $("#pp_sc").animate({top : offsetTopStr },{ duration:500 , queue:false });  
    });  
    $(window).scroll();   
});   
</script> 
演示条结束-->
<div class="header">
	<div class="site_top">
		<div class="head_top w1200">
		<ul class="collect fr">  
		<li class="fr"><a class="service_img" href="http://wpa.qq.com/msgrd?v=3&uin={wc:fun:_cfg("qq")}&site=qq&menu=yes" target="_blank"></a></li>   
		<li class="fr"><a href="{WEB_PATH}/help/22">帮助</a><span>|</span></li>           
		<li class="fr"><a href="{WEB_PATH}/member/home/userrecharge">快速充值</a><span>|</span></li>
		<li class="fr yu_ff">
			<a  href="{WEB_PATH}/home/member">我的夺宝</a><span>|</span>
			<div class="h_1yyg_eject">
				<dl>							
				<dd><a  href="{WEB_PATH}/member/home">我的夺宝</a></dd>
				<dd><a  href="{WEB_PATH}/member/home/userbuylist">夺宝记录</a></dd>
				<dd><a  href="{WEB_PATH}/member/home/orderlist">获得商品</a></dd>
				<dd><a  href="{WEB_PATH}/member/home/userrecharge">帐户充值</a></dd>
				<dd><a  href="{WEB_PATH}/member/home/modify">个人设置</a></dd>
				</dl>
			</div>					
		</li>
		{wc:if get_user_arr()}
		<li class="fr">欢迎您:<a  href="{WEB_PATH}/member/home" >
			{wc:fun:get_user_name(get_user_arr(),'username')}
			</a>
			<span>|</span>
			<a href="{WEB_PATH}/member/user/cook_end">[退出]</a>
			<span>|</span>
		</li>
		{wc:else}
		<!--<a href="{WEB_PATH}/api/qqlogin/"><img src="{G_TEMPLATES_STYLE}/images/qq.png" /></a>
 		<a href="{WEB_PATH}/api/wxloginpc/"><img src="{G_TEMPLATES_STYLE}/images/wx.png" /></a>-->
		<li class="fr"><a href="{WEB_PATH}/register">注册</a><span>|</span></li>
		<li class="fr"><a href="{WEB_PATH}/login">登录</a><span>|</span></li>
		{wc:if:end}
	</ul>
	<ul class="collect fl">
	<li class="fl"><a href="javascript:;" onclick="AddFavorite(window.location,document.title)">收藏本站</a><span>|</span></li>
	<li class="fl"><a href="javascript:;" onclick="AddFavorite(window.location,document.title)">欢迎来到{wc:fun:_cfg('web_name_two')}！</a></li>
	</div>
</div>
<div class="head_mid">
	<div class="head_mid_bg w1200">
		<h1 class="logo_yungou fl">
			<a class="logo_1yyg_img" href="{G_WEB_PATH}/" title="{wc:fun:_cfg('web_name')}">
				<img src="{G_UPLOAD_PATH}/{wc:fun:Getlogo()}">
			</a>
		</h1>
		<div class="head_search b_red fl">
			<input style="background: rgb(255, 255, 255) none repeat scroll 0% 0%;" id="txtSearch" class="init" placeholder="输入'苹果手机'试一试" type="text">
			<a class="search_submit" id="butSearch" href="javascript:;">
				<i class="ico_search"></i>
			</a>
		</div>
		<div class="m-joinNum r">
		 {wc:php:start}
			$return = go_count_renci();
		{wc:php:end}
				<a href="{WEB_PATH}/buyrecord" target="_blank">
					<span class="qian text">已有</span>
					{wc:loop $return $slide}
                    					<!-- <span class="tnum" id="spBuyCount">{wc:fun:go_count_renci()}</span> -->
                    					<span class="tnum" id="spBuyCount">{wc:$slide}</span> 
					{wc:loop:end}
                    					<span class="hou text">人次参与></span>
				</a>

			</div>
		</div>
	</div>
</div>
<!--导航 header_nav 开始-->
<div class="head_nav">
	<div class="nav_center bg_red b_red w1200">
		<div class="m_menu br_red">
			<div class="m_menu_all">
                 <h3><a class="c_red" href="{WEB_PATH}/goods_list/"><img src="/statics/templates/teyunbao/images/002.png" height="33" width="180"></a></h3>
             </div>
	 <div class="m_all_sort b_gray" id="m_all_sort">
	<ul>
             	{wc:getlist sql="select * from `@#_category` where `model`='1' and `parentid` = '0' order by `order` ASC"}
	{wc:loop $data $categoryx}
	 <li>
              <a href="{WEB_PATH}/goods_list/{wc:$categoryx['cateid']}" target="_blank">
              <img src="{G_UPLOAD_PATH}/{wc:$categoryx['pic_url']}" height="49" width="44">
              </a>  
               <a href="{WEB_PATH}/goods_list/{wc:$categoryx['cateid']}" target="_blank">{wc:$categoryx['name']}</a>
               </li>
	{wc:loop:end}
	{wc:getlist:end}
              </ul>
		<a class="more" href="{WEB_PATH}/goods_list">查看更多</a>
			 </div>
		</div>
		<ul class="nav_list">
		 	<li class="sort-all-shouye"><a href="{wc:G_WEB_PATH}">首页</a></li>
			{wc:fun:Getheader('index')}
		</ul>	
		<div class="mini_mycart" id="sCart">
			<a href="{WEB_PATH}/member/cart/cartlist" class="cart c_red" target="_blank" id="sCartNavi">
				<s></s>购物车(<span id="sCartTotal" class="c_red">0</span>)
			</a>
		</div>
	</div>
</div>
<div class="clear"></div>
<style>
.fixedNav{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	z-index:100000;
	_position:absolute;
	_top:expression(eval(document.documentElement.scrollTop));
}
</style>
<!--导航 header_nav 结束-->
<script>
$(document).ready(function(){
		$.get("{WEB_PATH}/member/cart/getnumber/"+new Date().getTime(),function(data){
			$("#sCartTotal").text(data);
		});
	});

document.onkeydown=function(event)
{ 
	e = event ? event :(window.event ? window.event : null);
	ss= document.getElementById('txtSearch').value;
	if(e.keyCode==13 && ss!=""){
	 window.location.href="{WEB_PATH}/s_tag/"+$("#txtSearch").val();
	}
}

$(function(){
	$("#txtSearch").focus(function(){
		$("#txtSearch").css({background:"#fff"});
		$(this).attr("placeholder","");
	});
	$("#txtSearch").blur(function(){
		$("#txtSearch").css({background:"#FFF"});
		$(this).attr("placeholder","输入'苹果手机'试一试");	
	});
	$("#butSearch").click(function(){
		var val1="苹果手机"
	    if($("#txtSearch").val()==""){
			window.location.href="{WEB_PATH}/s_tag/"+val1;
		}else
		if($("#txtSearch").val()==$("#txtSearch").val()){
			window.location.href="{WEB_PATH}/s_tag/"+$("#txtSearch").val();
		}
	});
});

	$(".yu_ff").mouseover(function(){
	  $(".h_1yyg_eject").show();
	})
	$(".yu_ff").mouseout(function(){
	  $(".h_1yyg_eject").hide();
	})

		
	//收藏
	function AddFavorite(sURL, sTitle){
		try
		{
			window.external.addFavorite(sURL, sTitle);
		}
		catch (e)
		{
			try
			{
				window.sidebar.addPanel(sTitle, sURL, "");
			}
			catch (e)
			{
				alert("您可以通过快捷键Ctrl+D进行添加");
			}
		}
	}
	
	$(".mobile").mouseover(function(){
		$(".h_mobile").show();
		$(".h_mobile  s").css("background","../images/headbg11.png").css("background-position","5px -64px");
	})
	$(".h_mobile").mouseout(function(){
		$(".h_mobile").hide();
	})

	
</script>



<style type="text/css">
	.qrcode {
	    position: fixed;
	    border: 1px solid #ade3fb;
	    border-radius: 2px;
	    z-index: 9999;
	    right: 15px;
	    bottom: 100px;
	    width: 150px;
	    background: #FFF url("../statics/templates/teyunbao/images/onlinebg.jpg") no-repeat scroll 0px 0px;
	    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
	}
	.qrcode .bd {
	    padding: 80px 15px 10px;
	}
	.qrcode .bd ul {
    	line-height: 1.4;
    	margin: 0px;
    	padding: 0px;
	}
	.qrcode .bd ul li {
	    margin-bottom: 8px;
	    overflow: hidden;
	}
	.qrcode .bd ul li .btn {
	    margin-bottom: 4px;
	    width: 120px;
	    height: 26px;
	    display: block;
	    text-indent: 44px;
	    color: #FFF !important;
	    font-size: 13px;
	    line-height: 26px;
	    text-decoration: none;
	}
	.qrcode .bd ul li .qq {
	    background: transparent url("../statics/templates/teyunbao/images//btn_qqo.png") no-repeat scroll 0% 0%;
	}
	.qrcode .bd ul li .ww {
	    background: transparent url("../statics/templates/teyunbao/images//btn_wwo.png") no-repeat scroll 0% 0%;
	}
	.qrcode .bd ul li a:hover {
	    opacity: 0.8;
	}
</style>
<div class="dontshow">
</div>